package com.tb.dubbo;

import com.tb.pojo.ShopParam;

import java.util.Map;

/**
 * 购物车商品参数
 */
public interface IShopParamService {

    /**
     *
     * @param shopParam 购物车商品属性
     * @return
     */
    int insert(ShopParam shopParam);


    /**
     *
     * @param shopParam  购物车商品属性(goodsId 商品编号,type商品属性 ,text属性对应的值)
     *
     * @return
     */
    ShopParam selectByShopParam(ShopParam shopParam);

    int deleteShopParamByGoodsIdAndUserId(Map<String,Object> map);

    int deleteShopCar(Map<String,Object> map);
}
